
//
//  LVButtomView.m
//  LEVE
//
//  Created by 上官惠阳 on 2017/3/1.
//  Copyright © 2017年 dashuju. All rights reserved.
//

#import "LVBottomView.h"
#import "UIView+Layer.h"

@implementation LVBottomView

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = [UIColor clearColor];

    self.selectionStyle = UITableViewCellSelectionStyleNone;
}
- (void)layoutSubviews
{
    [super layoutSubviews];

    [_botoomBtn makeRoundedCorners];

    [_botoomBtn addTarget:self action:@selector(bottomAction:) forControlEvents:UIControlEventTouchUpInside];

}
- (void)bottomAction:(UIButton *)btn
{
    if (_clickBottomBlock) {
        _clickBottomBlock(nil);
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
